import Layout from '@/layout'

const projectRouter = {
  path: '/project',
  component: Layout,
  redirect: '/project/projectinfo',
  name: 'Project',
  meta: {
    title: '工程管理',
  },
  children: [
    {
      path: 'projectinfo',
      component: () => import('@/views/project/project'),
      name: 'ProjectInfo',
      meta: { title: '工程信息' },
    },

    {
      path: 'archive',
      component: () => import('@/views/project/archive'),
      name: 'archive',
      meta: { title: '工程档案' },
    },

    {
      path: 'document',
      component: () => import('@/views/project/document'),
      name: 'document',
      meta: { title: '档案资料' },
    },
    {
      path: 'deposit',
      component: () => import('@/views/project/deposit/'),
      name: 'Deposit',
      meta: { title: '保证金' },
    },
    {
      path: 'business',
      component: () => import('@/views/project/business/'),
      name: 'Business',
      meta: { title: '投标业务明细' },
    },
    {
      path: 'finance',
      component: () => import('@/views/project/finance/'),
      name: 'Finance',
      meta: { title: '工程项目综合统计' },
    },

  ]


}

export default projectRouter